#ifndef TEST_HELPERS_H
#define TEST_HELPERS_H

#define assert_throws(exc, exp) try{exp;assert(0);}catch(exc &e){printf("%s\n", e.what());}catch(...){assert(0);}

#endif // TEST_HELPERS_H

